package Demo3;

import Demo2.Booklist;

public class Exit implements IFuntion{
    @Override
    public void work(Booklist booklist) {
        //提示一下
        System.out.println("程序正在退出中......");
        System.exit(0);//参数一般默认为0
    }
}
